from django.shortcuts import render


# Create your views here.
# 首页模板
def index(request):
    return render(request, 'index.html')
    # return render(request, 'courses.html')


# 用户注册
def user_register(request):
    if request.method == 'GET':
        return render(request, 'register.html')
    else:
        pass


def user_login(request):
    if request.method == 'GET':
        return render(request, 'login.html')


def contact(request):
    if request.method == 'GET':
        return render(request, 'contact.html')


def company(request):
    if request.method == 'GET':
        return render(request, 'company.html')


